import request from '@/utils/request'

// 查询废钢验质生产日报录入列表
export function listFggl(query) {
  return request({
    url: '/scrb/fggl/list',
    method: 'get',
    params: query
  })
}

// 查询废钢验质生产日报录入详细
export function getFggl(cDate) {
  return request({
    url: '/scrb/fggl/' + cDate,
    method: 'get'
  })
}

// 新增废钢验质生产日报录入
export function addFggl(data) {
  return request({
    url: '/scrb/fggl',
    method: 'post',
    data: data
  })
}

// 修改废钢验质生产日报录入
export function updateFggl(data) {
  return request({
    url: '/scrb/fggl',
    method: 'put',
    data: data
  })
}

// 删除废钢验质生产日报录入
export function delFggl(cDate) {
  return request({
    url: '/scrb/fggl/' + cDate,
    method: 'delete'
  })
}
